package com.hb.C_Lambda表达式和集合.高阶函数.sort

fun main() {
    listOf("bbb", "a", "cc").sorted().forEach(::println)
    listOf("bbb", "a", "cc").sortedBy { it.length }.forEach(::println)
}